import http from "@/utils/fetch";

// 上传文件
export function upload(params, sizeLimit = 0, riginalName = 0) {
  params.append("sizeLimit", sizeLimit);
  params.append("riginalName", riginalName);
  return http.upload("/Admin/upload", params);
}
// 获取所有订单状态
export function getOrderStatus() {
  return http.get("/Admin/Currency/getOrderStatus");
}
